-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[eth-rpc] Fixes #6317
[eth-rpc] Fixes #6317
Conversation
/cmd prdoc --audience runtime_dev --bump patch |
Re-purposed the PR to include various fixes noticed today during testing |
@@ -124,7 +124,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { | |||
spec_name: create_runtime_str!("westmint"), | |||
impl_name: create_runtime_str!("westmint"), | |||
authoring_version: 1, | |||
spec_version: 1_016_002, | |||
spec_version: 1_016_004, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: bumping twice as 003 has been pushed to westend already
|
||
/// The ratio between the decimal representation of the native token and the ETH token. | ||
#[pallet::constant] | ||
type NativeToEthRatio: Get<u32>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't handled by adding the network with the correct decimals to the wallet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in theory yes, but in practice no wallet support anything else than 18 decimals MetaMask/metamask-extension#15168
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Various fixes for the release of eth-rpc & ah-westend-runtime